package com.lifp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lifp.entity.SysPermission;
import com.lifp.mapper.SysPermissionMapper;
import com.lifp.service.SysPermissionService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionMapper, SysPermission> implements SysPermissionService{

    @Override
    public List<SysPermission> selectListByUserId(Long userId) {
        return baseMapper.selectListByUserId(userId);
    }
}
